<?php
require_once "includes/config.php";
session_start();	
	$sessid=session_id();
	mysql_query("delete from tempcart where tempid='".$_GET['id']."'");
	$_SESSION['dmsg']="Item removed sucessfully from your cart";
	?>
	<script language="javascript1.2">
	window.location.href="index.php?cart";
	</script>